﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ozone.Models
{
    public class DataHisContent
    {

        //混合器温度
        public string MixerTemp { get; set; } = "0";
        //预热器温度
        public string PreheaterTemp { get; set; } = "0";
        //反应柱温度
        public string ReactorTemp1 { get; set; } = "0";

        //输液泵流速
        public string InfusionPumpFlow { get; set; } = "0";
        //输液泵压力
        public string InfusionPumpPress { get; set; } = "0";

        //氢气瓶出口压力
        public string HydrogenPRVBottleOutPress { get; set; } = "0";
        //氢气瓶入口压力
        public string HydrogenInPress { get; set; } = "0";
        //氢气流速
        public string HydrogenFlow { get; set; } = "0";


        //氮气减压阀气瓶出口压力
        public string NitrogenPRVBottleOutPress { get; set; } = "0";
        //氮气流速
        public string NitrogenFlow { get; set; } = "0";
        //氮气减压阀压力
        public string NitrogenPRVPress { get; set; } = "0";

        //背压阀压力
        public string BPPress { get; set; } = "0";
        //液位
        public string LiquidLevel { get; set; } = "0";

        public DataHisContent()
        {

        }
        public DataHisContent(RD_S10 rd)
        {
            /*MixerTemp = rd.MixerTemp;
            PreheaterTemp = rd.PreheaterTemp;
            ReactorTemp1 = rd.ReactorTemp1;
            InfusionPumpFlow = rd.InfusionPumpFlow;
            InfusionPumpPress = rd.InfusionPumpPress;

            HydrogenPRVBottleOutPress = rd.HydrogenPRVBottleOutPress;
            HydrogenInPress = rd.HydrogenInPress;
            HydrogenFlow = rd.NitrogenFlow;

            NitrogenPRVBottleOutPress = rd.NitrogenPRVBottleOutPress;
            NitrogenFlow = rd.NitrogenFlow;
            NitrogenPRVPress = rd.NitrogenPRVPress;

            BPPress = rd.BPPress;
            LiquidLevel = rd.LiquidLevel;*/

        }
    }
}
